package com.uit.project.bustrip.valueobject;

import com.uit.project.bustrip.appconfig.AppsConfig;


public class JSONResult {
	private String result;
	private Object data;
	private String message;

	public JSONResult() {
		this.result = AppsConfig.RESULT_FAIL;
		this.data = null;
		this.message = "";
	}
	/**
	 * @param result
	 * @param data
	 * @param message
	 */
	public JSONResult(String result, Object data, String message) {
		this.result = result;
		this.data = data;
		this.message = message;
	}
	/**
	 * @return the result
	 */
	public String getResult() {
		return result;
	}
	/**
	 * @return the data
	 */
	public Object getData() {
		return data;
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param result the result to set
	 */
	public void setResult(String result) {
		this.result = result;
	}
	/**
	 * @param data the data to set
	 */
	public void setData(Object data) {
		this.data = data;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	
}
